package com.zelin.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class student {
    private int sid;
    private String sname;
    private String sex;
    private int age;
    private String addr;
    private int cid;
    private String cname;
    public student(String sname,String sex,int age,String addr,int cid){
        this.sname = sname ;this.sex=sex;this.age=age;
        this.addr=addr;this.cid=cid;
    }
    public student(int sid,String sname,String sex,int age,String addr,int cid){
        this.sname = sname ;this.sex=sex;this.age=age;
        this.addr=addr;this.cid=cid;this.sid=sid;
    }


}
